Skip to main content

xsltLoadStylesheetFromFile

Type​

function

Summary​

The xsltLoadStylesheetFromFile function loads an xslt stylesheet into memory from a file so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Syntax​

xsltLoadStylesheetFromFile pathToFile

Description​

The xsltLoadStylesheetFromFile function loads an xslt stylesheet into memory from a file so that it can be applied to xml data using the xsltApplyStylesheet function. It returns an xslt stylesheet id.

Examples​

put xsltLoadStylesheetFromFile(tFilePath) into tStylesheetID
put xsltApplyStylesheet(tXMLData, tStylesheetID) into tProcessedData
xsltFreeStylesheet tStylesheetID

function: revXMLEvaluateXpath, xsltApplyStylesheetFromFile, xsltLoadStylesheetFromFile, revXMLCreateTreeFromFile, revXMLCreateTree, xsltApplyStylesheet

Compatibility and Support​

Introduced

LiveCode 6.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?